import 'package:flutter/material.dart';

class HomeMenuItemWidget extends StatelessWidget {
  final IconData icon;
  final String title;

  const HomeMenuItemWidget({Key key, this.icon, this.title}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Icon(
            icon,
            color: Colors.white70,
            size: 32,
          ),
          SizedBox(height: 4,),
          Text(
            title,
            style: TextStyle(fontSize: 10, color: Colors.white70),
          ),
        ],
      ),
    );
  }
}
